/**
 * Copyright (C), 2012-2018, 联奕科技有限公司
 * FileName: DemoAppliction
 * Author:   石贵武
 * Date:     2018\3\5 0005 17:50
 * Description: demo应用
 * History:
 * <author>          <time>          <version>          <desc>
 * 作者姓名           修改时间           版本号              描述
 */
package com.zhoudongxiu;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * 〈一句话功能简述〉<br> 
 * 〈demo应用〉
 *
 * @author 石贵武
 * @create 2018\3\5 0005
 * @since 1.0.0
 */
@SpringBootApplication
@RestController
@EnableSwagger2
public class DemoAppliction {

    public static void main(String[] args) {
        SpringApplication.run(DemoAppliction.class, args);
    }

    @GetMapping("/hello")
    public String hello() {
        return "hello spring security!!";
    }
}